package org.rc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.rc.dto.MicPageDto;
import org.rc.entity.Mic;

import java.util.List;

public interface MicService {

    void addMic(Mic mic);

    List<Mic> getByMicIds(List<Long> ids);

    Mic getByMicId(Long id);

    void updateByMicId(Mic mic);

    Page<Mic> getMicPage(MicPageDto micPageDto);

    void deleteById(Long id);

    void batchDeleteMic(List<Long> id);

    List<Mic> getAllMics();

}
